package com.lzw.breezeNovel.WebAdmin.service.impl;


import com.lzw.breezeNovel.WebAdmin.mapper.AdvertFreeMapper;
import com.lzw.breezeNovel.WebAdmin.service.AdvertFreeService;
import com.lzw.breezeNovel.model.entity.pojo.novel.AdvertFree;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 广高的费用
 */
@Service
@SuppressWarnings("all")
public class AdvertFreeServiceImpl implements AdvertFreeService {

    /**
     * 注入mapper
     */
    @Resource
    private AdvertFreeMapper advertFreeMapper;


    /**
     * 查询广告费用
     * @return
     */
    @Override
    public List<AdvertFree> queryAdvertFree() {
        //查询广告费用
        List<AdvertFree> advertFreeList = advertFreeMapper.queryAdvertFree();
        return advertFreeList;
    }
}
